package com.sefer.dragonfly.client.core.domain.mbean.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CMbeanMethod {

	/**
	 * 方法描述
	 * 
	 * @return
	 */
	String description() default "";

	/**
	 * 方法的影响力，既可读，可写或可读写
	 * 
	 * @see javax.management.MBeanOperationInfo
	 * 
	 * 
	 * @return
	 */
	int impact() default 0;
}
